using System;
using System.Collections.Generic;
using System.Text;
namespace BLL.BusinessLayer
{
	[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
	[Serializable]
	public class ClsApps_Plats: BusinessObjectBase
	{

		public ClsApps_Plats() {}

		#region InnerClass
		public enum ClsApps_PlatsFields
		{
			PlatformID,
			AppID
		}
		#endregion

		#region Data Members

			int _platformID;
			int _appID;

		#endregion

		#region Properties

		public int  PlatformID
		{
			 get { return _platformID; }
			 set
			 {
				 if (_platformID != value)
				 {
					_platformID = value;
					 PropertyHasChanged("PlatformID");
				 }
			 }
		}

		public int  AppID
		{
			 get { return _appID; }
			 set
			 {
				 if (_appID != value)
				 {
					_appID = value;
					 PropertyHasChanged("AppID");
				 }
			 }
		}


		#endregion

		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("PlatformID", "PlatformID"));
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("AppID", "AppID"));
		}

		#endregion

	}
}
